<extend name="Base/common" />

<block name="style">
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Api/css/main.css">
</block>

<block name="Content">

<div class="page-group">
    <div class="page bgcolor page-current">
        <div class="content native-scroll">
            <div class="server-install">
                <div class="content">
                    <div class="buttons-tab titles">
                    	<notempty name="tree">
               				<foreach name="tree" item="class">
                        		<a href="{:U('Class/viewAction', 'class_id='.$class['class_id'])}" class="<if condition='$class_id eq $class[class_id]'> active</if> button">{$class['class_name']}</a>
                        	</foreach>
                        </notempty>
                    </div>
                    <div class="content-block">
                        <div class="tabs">
                        	<notempty name="tree">
               					<foreach name="tree" item="class">
		                            <div id="tab{$class['class_id']}" class="tab <if condition='$class_id eq $class[class_id]'> active</if>">
		                                <div class="content-block">
		                                    <ul class="clearfix">
		                                    	<foreach name="class['_child']" item="sub_class">
		                                        	<li><a href="{:U('Class/detailAction', 'class_id='.$sub_class['class_id'])}">{$sub_class['class_name']}</a></li>
		                                        </foreach>
		                                    </ul>
		                                </div>
		                            </div>
                            	</foreach>
                            </notempty>
                        </div>
                        <div class="more-service">更多服务类型敬请期待</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</block>

<block name="script">
<script type="text/javascript">
</script>
</block>

